package com.wechatapp.mengyao.poetry.service.impl;

import com.wechatapp.mengyao.poetry.entity.TabBarItem;
import com.wechatapp.mengyao.poetry.mapper.TabBarItemMapper;
import com.wechatapp.mengyao.poetry.service.TabBarItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author yanghuaxu
 * @date 2025/7/30 15:31
 */
@Service
public class TabBarItemServiceImpl implements TabBarItemService {

    @Autowired
    private TabBarItemMapper tabBarItemMapper;

    @Override
    public List<TabBarItem> getEnableTabBarItemList() {
        TabBarItem condition=new TabBarItem();
        condition.setIsActive(true);
        return tabBarItemMapper.select(condition);
    }
}
